package com.cx.core.magazine.model.bean;

import java.sql.Date;

/**
 * 
 * 文章的bean实体类
 * 
 * 
 *@author li.chh
 *@version 1.0
 *@date 2012-02-25
 */
public class Article {
	/**
	 * 文章编号
	 */
	private int id;

	private int period_id;
	/**
	 * 文章标题
	 */
	private String title;
	/**
	 * 文章类别 重要新闻/一般新闻
	 */
	private String type;
	/**
	 * 文章具体的内容
	 */
	private String content;
	/**
	 * 相关的图像资源
	 */
	private String image_id;

	public String getImage_id() {
		return image_id;
	}

	public void setImage_id(String imageId) {
		image_id = imageId;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * 撰稿人
	 */
	private String publisher;
	/**
	 * 撰稿时间
	 */
	private long publish_date;

	/**
	 * 操作员
	 * 
	 */
	private String user;

	/**
	 * 
	 * 操作时间
	 */
	private long timestamp;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPeriod_id() {
		return period_id;
	}

	public void setPeriod_id(int periodId) {
		period_id = periodId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}

	public long getPublish_date() {
		return publish_date;
	}

	public void setPublish_date(long publishDate) {
		publish_date = publishDate;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

}
